package com.test;

public class cat extends animal{

    public cat() {
    }

    public cat(String color, int age) {
        super(color, age);
    }

    @Override
    public void eat(String something)
    {
        System.out.println("年龄为"+getAge()+"的"+getColor()+"色的"+"猫咪"+"正在吃"+something);
    }

    public void catch_mouse()
    {
        System.out.println("猫抓老鼠");
    }

}
